#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int seek(int* arr)
{
	int* str = arr;
	while (*arr)
	{
		while (*(str+1))
		{
			if (*(str + 1) == *arr)
			{
				break;
			}
			(str+1)++;
			
		}
		
	}
}
int main()
{
	int arr[9] = { 1,2,3,4,1,2,3,4,5 };
	int ret = seek(arr);
	if (ret == -1)
	{
		printf("meizhaodao");
	}
	else
	{
		printf("%d", ret);

	}
	
}